import java.sql.Connection;
import java.sql.DriverManager;


public class Manager {

	/**
	 * @param args
	 */
	private Connection con;
	public Connection getConexion(){		
		try{
			Class.forName("net.sourceforge.jtds.jdbc.Driver");
			con=DriverManager.getConnection("jdbc:jtds:sqlserver://192.168.56.10:1433/prueba","sa","avantia");
		}catch(Exception e){
			e.printStackTrace();
		}
		return con;
	}

}
